<?php
/* 服务窗应用参数*/
$config = array (
		'name' => '爱赞优惠券',
		// 用于跳转页面 写绑定的域名
		'url' => 'http://618.jiandudu.com/',
		// 用于记录充值成功后的订单 触发红包时用到商户打款后的跳转链接，从支付宝收银台打款成功后的跳转链接。不填时，打款后停留在支付宝支付成功页。商户实际跳转会自动添加crowdNo作为跳转参数
		'merchant_link'=>'http://618.jiandudu.com/merchant.php',
		//应用ID,您的APPID。
		'app_id' => "2015120700934021",

		//商户私钥，您的原始格式私钥,一行字符串
		'merchant_private_key' => "MIIEpgIBAAKCAQEA0bdum9GXbBA86dqHArY/m1tohodbz+ykEFYHR+QWT5G5aRhvnUu31NU6ucAPUubDc6ton2LHwJVJZZckDQK+yyCTuksncZUdvA77vX7p8Xi9Qy1vqwo9EHTcF7Hi8uUmGAY9hhw7P54+OnyLbCtUqHkQyCAYixSlXlo8DteMk2ZeVlkQHysyc65LdrxakbRohLe3EBLGUgNlFJtaaTLU4uM6c7xRxTutXipQ6kR6JwSTl610WE3UgVP0tO7xvE1mRG/zr9CEp8RQkBoCmtfKiycaGQSpOTEu9Qj2lVeSXdDF7GFC7xOykv+Wi3IebGVf1rM8v7cN1bRpqflg84yJWQIDAQABAoIBAQCCTypJY9hk60oOPRz7EGdBj3DJdr4T2oSvKeVoRE+grXm51dc0s+HMO5o75R0gdAcqjm157BUWkyyCFYHvG6+V4+4nKZ+esftB6UV/H6cZxd5EKa1jZ/89hH9lscDFEKG099uuw0gFZbxg9xZi5iG6dU96KodVlESU9hivWDwfMbFIEsnuKuln2LcP9j4BYFzxRpyaZ08ZH2QTPRdhJlV8DtKzEB60pB6hkh9ZufMwz1Vndk1ZO45A/ETIC5f+oa9Y/ZK4dPHOU/bWpdEhejQ79jgO7kPXHXyleQvZi9nzEePprZ07PmMDcgWB8QkGqHciKtdEpMUmG4mYVfSE0zEhAoGBAP9lcatqsuMdKJZyCkuDA1lxlFWO8WUdWRfZPIf5RoBAFtJgMT94cxadEg3DqNwTH9Sw/XTQhx6iaJa53VqXFiaYSTXUnPpB0AQ4gXev7hsfpbRvW62dUeU/BSzPZLYP9bod2tXgIdG1FSfHoNXwhmTFbHppdt+y2lJZ9eBPak91AoGBANI2WCx1rME7hvVtBMCEEkWRk16ugdF0i73bfla6uNo/UYmyiXatrcze41/ORiPc4hQxFYh3abkskTt6cakvsPGG1CaqQavL/6gsA3cel59p1JSQyd5+WtuAiyQx5x7Y9wcOjNHp/rn3hUONMl2/MLtn98DrXe3rhrIjUb1APhnVAoGBAMQphao01NuOTNtpEjE3mr37eARTO2P/q6uepliGBTmCgETrr0fh2vvWfsRlsPAAHGW/35z2gaHs+koyzirDezb/ptOaz0uEeyKSyBZG4aqhnyO8mHz8JaffxLjLPr57+bAPOEMn2LH61RntwcIw8Pi7jntjP/PHqtqv0COOu8f1AoGBAMLs17hqagZIz62XKPfnwBW4lwIOKZzzSH2GIlIEFVNzsYVRA/0Dsg0uhYMagJnSweVdWo1Pxb6LICUaNnlfGuHsV59+8yR+JxRns9LqkEinVxNoa3igjFnMibnHeHx3TiHCETy5kZYaev2X2aNqnaK6FthSqKftZdqbu7kU8ED9AoGBAMveEoHF8vwrMWvq+CStw03dKMsoi6wYHTGxuMlnox8+uNwnjra77Azqca8TocL+cirFJD7XYYJNLj8DmeIBuHTprUh5Rm3e4irpV+TjH1SAjtnIANUUA/7OupFwUm0I8ja6ofHMLSdV0sEyNByh6ajZlM7l72yfGVnPuZCig0n6",
		//商户应用公钥,一行字符串
		'merchant_public_key' => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0bdum9GXbBA86dqHArY/m1tohodbz+ykEFYHR+QWT5G5aRhvnUu31NU6ucAPUubDc6ton2LHwJVJZZckDQK+yyCTuksncZUdvA77vX7p8Xi9Qy1vqwo9EHTcF7Hi8uUmGAY9hhw7P54+OnyLbCtUqHkQyCAYixSlXlo8DteMk2ZeVlkQHysyc65LdrxakbRohLe3EBLGUgNlFJtaaTLU4uM6c7xRxTutXipQ6kR6JwSTl610WE3UgVP0tO7xvE1mRG/zr9CEp8RQkBoCmtfKiycaGQSpOTEu9Qj2lVeSXdDF7GFC7xOykv+Wi3IebGVf1rM8v7cN1bRpqflg84yJWQIDAQAB",

		//支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
		'alipay_public_key' => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl/kHwnYpkFHvcJCBGfQX1ueXpB59cBvIkNG/Hq7+c1HpE9GaQN0UZniFRqnLXRmtgZJwTphDRFHpy4w4+zsX3wABPPgOjYqEgRRxl68ERNdvalawfmZ2vXf6OuWsyYDVY73L6QKd6MydPr9vNgfxjgYDTdW6d2wcVW85+ZB455HX64NaPW9bF0tzJK8n7oHsqxPfJGV4p08g1YFG3uZt/u3SzOEEvFtu3JHJHK+474xXZNG4RneSaRmJT+Zs6+uycm4sDu5OTBopriO0uqU3QMDJ6NdbaFsQMw50fIufxG/316HX8larexSz20oPqdTOxGQVvnjFs+qtxn2+GO8qFQIDAQAB",

		//编码格式只支持GBK。
		'charset' => "GBK",

		//支付宝网关
		'gatewayUrl' => "https://openapi.alipay.com/gateway.do",

		//签名方式
		'sign_type'=>"RSA2"
);

/* 数据库参数*/
$configDb = array(
	'host' => '127.0.0.1',
    'username' => 'hongbao', 
    'password' => 'OkuLwdjTDI6m7HUZ',
    'db'=> 'hongbao',
    'port' => 3306,
    'prefix' => 'app_',
    'charset' => 'utf8',
 );


$Ad = array(
	array(
		'img' => './img/618.png',
		'title' =>'618福利红包' ,
		'des' => '每天领取3次',
		'url' =>'https://s.click.taobao.com/T2oGiPw',
		'status' =>'进行中'
	),
		/*array(
			'img' => './img/zq.png',
			'title' =>'自购省钱，推广赚钱' ,
			'des' => '限5000名',
			'url' =>'https://s.click.taobao.com/98UKvPw',
			'status' =>'进行中'
		),
		array(
			'img' => './img/zq.png',
			'title' =>'自购省钱，推广赚钱' ,
			'des' => '限5000名',
			'url' =>'https://s.click.taobao.com/98UKvPw',
			'status' =>'进行中'
		),*/
 );
$Info = array(
	'help' =>"
	【1】<span>[分享赚红包]领最高9.9元红包</span><br><br>
    【2】<span>[6月18日0:00]抽最高618元现金红包</span><br><br>
	【3】<span>人人有份百分百有红包</span><br><br>
	【4】<span>截止时间：2018/6/20</span><br><br>" ,
	'text'=>"【来和我一起，抢618大红I包】选择啕寳咑閞；或復|制这段€jArr0xqVqGk€打开到手机淘寳",
	'aliapy' =>'5kMyiB173z'
);
